<pre>
<script>

var a = 128;

if (a == 42) {
    document.write("a is Answer.\n");
}
else {
    document.write("a is not Answer.\n");
}

a = 42;

if (a == 42) {
    document.write("a is Answer.\n");
}
else {
    document.write("a is not Answer.\n");
}


</script>
</pre>